#ifndef __CONSTS__
#define __CONSTS__

// Game settings
#define FRAMERATE 30
#define GAME_W 640
#define GAME_H 480

// Game Mods
#define MODE_INTRO 1
#define MODE_MENU 2
#define MODE_GAME 3
#define MODE_QUIT 4

// Physic
#define GROUND_HEIGHT 60

#define VIEW_RIGHT 0
#define VIEW_LEFT 1

// Animations
#define MAX_ANIMATION 12
#define MAX_FRAME_PER_ANIMATION 7
#define MAX_SEQUENCE_LENGTH 8

#define ANIMATION_STAND_R 0
#define ANIMATION_STAND_L 1
#define ANIMATION_WALK_R 2
#define ANIMATION_WALK_L 3
#define ANIMATION_FIRE_R 4
#define ANIMATION_FIRE_L 5

#define ANIMATION_1 0
#define ANIMATION_2 1
#define ANIMATION_3 2
#define ANIMATION_4 3
#define ANIMATION_5 4
#define ANIMATION_6 5

#define ENTITY_LIBRARY_SIZE 8
#define ENTITY_ANIMATION_SIZE 4

// Character data
#define MAX_LIFE 5

// Character status
#define STATUS_FIRING (1<<0)
#define STATUS_GUARD (1<<1)
#define STATUS_ATTACKING (1<<2)

// Enemies types
#define TYPE_RANGED 1
#define TYPE_BOSS 2

// Enemies Waves
#define MAX_ENEMY_TYPE 4

// Items
#define WEP_COLT 0
#define WEP_SHOTGUN 1
#define ITEM_HEALTH 2

// Entities
#define TYPE_BULLET 0
#define TYPE_HIT 1
//
#define TYPE_PLAYER 0
#define TYPE_ENEMY 1
#endif
